Getting Started


Getting Started
 
Following sucessful installation of the system hardware, you must configure a set of software parameters. You then save these settings in a system configuration file that is launched whenever the system is reloaded.
This chapter provides instructions for connecting to the console port and creating the initial local context management configuration. It includes the following sections:
ASR 5000 Configuration
The first time power is applied to the system, the active System Management Card (SMC) (typically the one installed in chassis slot 8) automatically launches a Quick Setup Wizard on its console port.
The serial console port is located on the SPIO card installed in slot 24. This wizard is guides you through the initial configuration of the system.
You can choose not to use the wizard and perform the initial configuration by issuing commands via the command line interface (CLI). You can manually launch the wizard by running the setup command in the Exec mode. Refer to the Command Line Interface Reference for details.
The following sections describe how to configure the system.
Using the ASR 5000 Quick Setup Wizard
The Quick Setup Wizard consists of three parts:
The following figure and table provides a flow diagram that shows the run logic of the wizard along with additional information and notes.
ASR 5000 Quick Setup Wizard Logic Diagram
Quick Setup Wizard Logic Diagram Callout Descriptions
Enter no at the prompt to automatically be directed to the command line interface (CLI). Proceed to the Using the CLI for Initial Configuration section for instructions on performing an initial system configuration with the CLI.
Enter setup at the command prompt to re-invoke the wizard.
3.
Optional. Repeat step 1 and step 2 to modify additional settings.
SPIO Interfaces
config
   system hostname <hostname>
   context local
      administrator <admin_name> password <passwd>
      interface spio1
         ip address <ip_address> subnet
         #exit
      ip route 0.0.0.0 0.0.0.0 <gw_address> spio1
      ssh key <v1_key>
      ssh key <v2_rsa_key>
      ssh key <v2_dsa_key>
      server sshd
      subsystem sftp
      #exit
      no server telnetd
      server ftpd
      no server telnetd
      #exit
   port ethernet 24/1
      bind interface spio1 local
      no shutdown
      media rj45
   #exit
end
Important: Once configuration using the wizard is complete, proceed to instructions on configuring other system parameters.
Using the CLI for Initial Configuration
The initial configuration consists of the following:
This section provides instructions for performing these tasks using the CLI.
Step 1
[local]host_name# configure
[local]host_name(config)#
Step 2
[local]host_name(config)# context local
[local]host_name(config-ctx)#
The local context is the system’s management context. Contexts allow you to logically group services or interfaces. A single context can consist of multiple services and can be bound to multiple interfaces.
Step 3
administrator name { password password | encrypted password enc_password } [ ftp ] [ no-cli ] [ timeout-absolute absolute_time ] [ timeout-idle idle_time ]
password password
Important: You must configure a context-level security administrator during the initial configuration. After you complete the initial configuration process and end the CLI session, if you have not configured a security administrator, CLI access will be locked.
Step 4
[local]host_name(config-ctx)# exit
[local]host_name(config)#
Step 5
[local]host_name(config)# system hostname host_name
host_name is the name by which the system will be recognized on the network. The hostname is an alphanumeric string of 1 through 63 characters that is case sensitive.
Step 6
Step a
[local]host_name(config)# context local
[local]host_name(config-ctx)#
Step b
[local]host_name(config-ctx)# interface interface_name
interface_name is the name of the interface expressed as an alphanumeric string of 1 through 79 characters that is case sensitive. The following prompt appears as the system enters the Ethernet Interface Configuration mode:
[local]host_name(config-if-eth)#
Step c
{ ip address | ipv6 address } ipaddress subnetmask
IPv4ip address
IPv6ipv6 address
Important: If you are executing this command to correct an address or subnet that was mis-configured with the Quick Setup Wizard, you must verify the default route and port binding configuration. Use step 11 and step 6 of this procedure. If there are issues, perform steps 7e through 7k to reconfigure the information.
Step d
[local]host_name(config-if-eth)# exit
[local]host_name(config-ctx)#
Step e
{ ip | ipv6 } route gw_address interface_name
Step f
[local]host_name(config-ctx)# exit
[local]host_name(config)#
Step g
port ethernet slot#/port#
Step h
[local]host_name(config-port-<slot#/port#>)# bind interface interface_name local
[local]host_name(config-port-<slot#/port#>)# no shutdown
interface_name is the name of the interface that you configured in step 7b.
Step i
[local]host_name(config-port-slot#/port#)# media [ rj45 | sfp ]
The SPIO is equipped with dual RJ-45 and dual SFP interfaces. The RJ-45 interfaces connect the system to the management network with CAT3 or CAT5 Ethernet cable. The SFP interfaces connect the system to the management network with 1000Base-SX optical fiber cable.
Step j
medium { auto | speed { 10 | 100 | 1000 | 10000 } duplex { full | half } }
Step k
[local]host_name(config-port-<slot#/port#>)# exit
[local]host_name(config)#
Important: Refer below for instructions on configuring the SPIO management interface with a second IP address.
Configuring the System for Remote Access
Configure the system for remote access. An administrative user may access the system from a remote location over a local area network (LAN) or wide area network (WAN):
Important: If there are two simultaneous telnet sessions, and one administrator deletes the context into which the other administrator is logged, the administrator in the deleted context will not be automatically kicked into the local context. Although the deleted context will still appear in the CLI prompt, context specific commands will generate errors.
 
Important: For maximum security, use SSH v2.
Step 1
[local]host_name(config)# context local
[local]host_name(config-ctx)#
Step 2
[local]host_name(config-ctx)# server telnetd
Step 3
[local]host_name(config-ctx)# ssh generate key [ type { v1-rsa | v2-rsa | v2-dsa } ]
Important: v2-rsa is the recommended key type.
[local]host_name(config-ctx)# server sshd
[local]host_name(config-sshd)# subsystem sftp
[local]host_name(config-sshd)# exit
Step 4
[local]host_name(config-ctx)# server ftpd
Step 5
[local]host_name(config-ctx)# end
[local]host_name#
Step 6
[local]host_name# show configuration
The CLI output should be similar to the sample output:
context local
   interface <interface_name>
      ip address <ipaddress> <subnetmask>
      exit
   subscriber default
      exit
   administrator <admin_name> password <admin_password>
   server telnetd
   server ftpd
   ssh generate key
   server sshd
   subsystem sftp
   exit
port ethernet 24/1
   bind interface <interface_name> local
   exit
port ethernet 24/1
   no shutdown
   exit
snmp engine-id local 800007e580ed826c191ded2d3d
end
Step 7
[local]host_name# show ip route
The CLI output should be similar to the sample output:
"*" indicates the Best or Used route.
Destination Nexthop Protocol Prec Cost Interface
*0.0.0.0/0 <ipaddress> static 1 0 spio1
*<network> 0.0.0.0 connected 0 0 spio1
Step 8
[local]host_name# show ip interface name <interface_name>
<interface_name> is the name of the interface that was configured in step 7b.The CLI output should be similar to the sample output:
Intf Name: spio1Intf Type: Broadcast
Description:
IP State: UP (Bound to 24/1 untagged, ifIndex 402718721)
IP Address: <ipaddress> Subnet Mask: <subnetmask>
Bcast Address: <bcastaddress> MTU: 1500
Resoln Type: ARP ARP timeout: 3600 secs
L3 monitor LC-port switchover: Disabled
Number of Secondary Addresses: 0
Step 9
Save your configuration as described in the Verifying and Saving Your Configuration chapter.
Configuring the Management Interface with a Second IP Address
If necessary, you can configure a second IP address on the SPIO management interface.
Step 1
[local]host_name# configure
[local]host_name(config)#
Step 2
[local]host_name(config)# context local
[local]host-name(config-ctx)#
Step 3
[local]host_name(config-ctx)# 24/1
[local]host_name(config-if-eth)#
Step 4
[local]host_name(config-if-eth)# { ip | ipv } address ipaddress subnet_mask secondary
Step 5
[local]host_name(config-if-eth)# end
Step 6
[local]host_name# show config context local
The CLI output should look similar to this example:
config
  context local
     interface <interface_name>
        ip address <ipaddress> <subnetmask>
        ip address <ipaddress> <subnetmask> secondary
        #exit
Step 7
Save your configuration as described in the Verifying and Saving Your Configuration chapter.
 
 

Cisco Systems Inc.
Tel: 408-526-4000
Fax: 408-527-0883